﻿
namespace SistemaLogistica.Business.Entities
{
    using System;

    [Serializable]
    public partial class Cargo
    {
        public Cargo()
        {
        }

        private Int32 idCargo;

        public Int32 IdCargo
        {
            get { return this.idCargo; }
            set { this.idCargo = value; }
        }

        private String nombre;

        public String Nombre
        {
            get { return this.nombre; }
            set { this.nombre = value; }
        }

        private Area area;

        public Area Area
        {
            get { return this.area; }
            set { this.area = value; }
        }

        private String descripcion;

        public String Descripcion
        {
            get { return this.descripcion; }
            set { this.descripcion = value; }
        }

        private Nullable<Int32> idCargoSuperior;

        public Nullable<Int32> IdCargoSuperior
        {
            get { return this.idCargoSuperior; }
            set { this.idCargoSuperior = value; }
        }

        public override string ToString()
        {
            return this.nombre;
        }
    }
}

